<cfoutput><a href = "index.cfm?m=blog&a=default&cid=#url.cid#">Back to Blog Posts</a></cfoutput>
<br />
<cfparam name="bid" default="0">
<cfinclude template = "../qry/qcomments.cfm">

<div class="comments_section">
<table width="90%" cellspacing="0" cellpadding="6">
<cfoutput query = "qcomments">
<tr class="menu_row" onmousedown="this.className = 'menu_row_over';" onmouseover = "this.className = 'menu_row_over2';" onmouseup="this.className = 'menu_row_over';" onmouseout = "this.className = 'menu_row';">
	<td class="menu_cell" width="90" valign="top"><img src="/avatars/#avatar#" width="75" height="75" /></td>
    <td class="menu_cell" valign="top">
    <div class="comment_by">By #firstname# #lastname# on #dateformat(pdate, "mmmm dd, yyyy")#</div>
    <div class="comment">#pcomment#</div>
    </td>
    <td class="menu_cell" width="50">
    <div align="center">
    	<a href = "index.cfm?m=blog&a=removecomment&id=#id#&bid=#bid#&cid=#cid#"><img src="/members/icons/delete.png" width="32" border="0" alt="Delete Comment" title="Delete Comment" /></a>
    </div>
    </td>
</tr>
</cfoutput>
</table>
</div>

<cfif qcomments.recordcount IS 0>
<i>There are no comments for this entry</i>
</cfif>